bug in SSLStarter, works only on a connected socket.