private NHttpClientHandler createHttpClientHandler(
final HttpRequestExecutionHandler requestExecutionHandler,
final EventListener eventListener) {
BasicHttpProcessor httpproc = new BasicHttpProcessor();
httpproc.addInterceptor(new RequestContent());
httpproc.addInterceptor(new RequestTargetHost());
httpproc.addInterceptor(new RequestConnControl());
httpproc.addInterceptor(new RequestUserAgent());
httpproc.addInterceptor(new RequestExpectContinue());
if (this.clientMode == MODE_BUFFERING) {