1, params);
final ListeningIOReactor listeningIOReactor = new DefaultListeningIOReactor(
1, params);
BasicHttpProcessor originServerProc = new BasicHttpProcessor();
originServerProc.addInterceptor(new RequestContent());
originServerProc.addInterceptor(new RequestTargetHost());
originServerProc.addInterceptor(new RequestConnControl());
originServerProc.addInterceptor(new RequestUserAgent());
originServerProc.addInterceptor(new RequestExpectContinue());
BasicHttpProcessor clientProxyProcessor = new BasicHttpProcessor();
clientProxyProcessor.addInterceptor(new ResponseDate());
clientProxyProcessor.addInterceptor(new ResponseServer());
clientProxyProcessor.addInterceptor(new ResponseContent());
clientProxyProcessor.addInterceptor(new ResponseConnControl());
NHttpClientHandler connectingHandler = new ConnectingHandler(
originServerProc,
new DefaultConnectionReuseStrategy(),
params);