SSL: Restore the port options before using them. Fixes some SSL options not having the intended effect at server start. Fixes main part of [bug 7657 (#7657)].