ChannelFactory channelFactory, final ExecutionHandler executionHandler) {
this.responder = responder;
this.channelFactory = channelFactory;
this.executionHandler = executionHandler;
ServerBootstrap bootstrap = new ServerBootstrap(channelFactory);
bootstrap.setPipelineFactory(new ChannelPipelineFactory() {
@Override
public ChannelPipeline getPipeline() throws Exception {
ChannelPipeline p = Channels.pipeline();
p.addLast("frameDecoder", new NettyFrameDecoder());
p.addLast("frameEncoder", new NettyFrameEncoder());