@Override
public void configure(final ChannelPipeline pipeline) {
if (logger.isDebugEnabled())
pipeline.addLast(new LoggingHandler("log-io", LogLevel.DEBUG));
pipeline.addLast("response-encoder", new NioGremlinResponseEncoder());
pipeline.addLast("request-binary-decoder", new NioGremlinBinaryRequestDecoder(serializers));
if (logger.isDebugEnabled())
pipeline.addLast(new LoggingHandler("log-codec", LogLevel.DEBUG));
}