public void startSSL(final boolean clientMode)
throws IOException {
TLSWrapper wrapper = new TLSWrapper(TLSUtil.getSSLContext(sslId, "SSL",
(String)sessionData.get(HOSTNAME_KEY)), null, clientMode);
socketIO = new TLSIO(socketIO, wrapper);
setLastTransferTime();
}