SSL support for sockjs listener; cleanup