clientProxyProcessor.addInterceptor(new ResponseContent());
clientProxyProcessor.addInterceptor(new ResponseConnControl());
NHttpClientHandler connectingHandler = new ConnectingHandler(
originServerProc,
new DefaultConnectionReuseStrategy(),
params);
NHttpServiceHandler listeningHandler = new ListeningHandler(
targetHost,
connectingIOReactor,
clientProxyProcessor,
new DefaultHttpResponseFactory(),
new DefaultConnectionReuseStrategy(),
params);
final IOEventDispatch connectingEventDispatch = new DefaultClientIOEventDispatch(
connectingHandler, params);