logger.debug("handleSession {}", sessionState);
}
switch (session.getState()) {
case CONNECTING:
logger.debug("State.CONNECTING sending open frame");
ctx.channel().writeAndFlush(new OpenFrame());
session.setConnectionContext(ctx);
session.onOpen(this);
sessionState.onConnect(session, ctx);
break;
case OPEN: