SSL hang during handshake