public void onPreRemove(IoFilterChain parent, String name,
NextFilter nextFilter) throws SSLException {
IoSession session = parent.getSession();
stopSSL(session);
session.removeAttribute(NEXT_FILTER);
session.removeAttribute(SSL_HANDLER);
}
// IoFilter impl.
public void sessionClosed(NextFilter nextFilter, IoSession session)