SSLSocket socket;
socket = (SSLSocket) getSocketFactoryImpl().createSocket(host, port);
socket.addHandshakeCompletedListener(this);
socket.startHandshake();
// unsaved@users
// For https protocol, the protocol handler should do this verification
// (Sun's implementation does), but if we do not use the Protocol
// handler (which is only available in Java >= 1.4), then we need to do