new NettyConnection(NettyAcceptor.this, e.getChannel(), new Listener(), !httpEnabled && batchDelay > 0, directDeliver);
SslHandler sslHandler = ctx.getPipeline().get(SslHandler.class);
if (sslHandler != null)
{
sslHandler.handshake().addListener(new ChannelFutureListener()
{
public void operationComplete(final ChannelFuture future) throws Exception
{
if (future.isSuccess())
{