throws IOException
{
HandshakeRepeater repeater = new HandshakeRepeater(listener);
sslSocket.addHandshakeCompletedListener(repeater);
sslSocket.getSession();
repeater.waitForHandshake();
}
static private void connect(final Socket socket, final InetSocketAddress address, final int timeout)
throws IOException
{