log.debug("Default Send Buffer Size "+connector.getSessionConfig().getSendBufferSize());
connector.getSessionConfig().setSendBufferSize(8192*8);
connector.getSessionConfig().setTcpNoDelay(true);
connector.getFilterChain().addLast("codec", new ProtocolCodecFilter(new ClientDesktopCodecSharingFactory()));
//StreamWriteFilter.setWriteBufferSize
//connector.getSessionConfig().set
log.debug("Setting the handler");