//pipeline.addLast("codec", new HttpClientCodec());
// Uncomment the following line if you don't want to handle HttpChunks.
//pipeline.addLast("aggregator", new HttpChunkAggregator(1048576));
pipeline.addLast("channeltracker",new NettyChannelTrackingHandler(openChannels));
pipeline.addLast("handler", responseHandler);
return pipeline;
}