SSLIOSession sslSession = (SSLIOSession) session.getAttribute(
SSL_SESSION);
try {
synchronized (sslSession) {
if (sslSession.isAppOutputReady()) {
conn.produceOutput(this.handler);
}
sslSession.outboundTransport();
}
} catch (IOException ex) {
this.handler.exception(conn, ex);