clientBootstrap.getPipeline().addLast("handler",(SimpleChannelUpstreamHandler)clientHandler);
}
protected void setupTricklePipeline(ServerBootstrap serverBootstrap, ClientBootstrap clientBootstrap, Handler serverHandler, Handler clientHandler) {
serverBootstrap.getPipeline().addLast("decoder",new IcapRequestDecoder());
serverBootstrap.getPipeline().addLast("encoder",new IcapResponseEncoder());
serverBootstrap.getPipeline().addLast("handler",(SimpleChannelUpstreamHandler)serverHandler);
clientBootstrap.getPipeline().addLast("trickle",new TrickleDownstreamHandler(20,3));
clientBootstrap.getPipeline().addLast("encoder",new IcapRequestEncoder());
clientBootstrap.getPipeline().addLast("decoder",new IcapResponseDecoder());