AsyncNHttpClientHandler protocolHandler =
new AsyncNHttpClientHandler(httpproc,
new MyHttpRequestExecutionHandler(this),
new DefaultConnectionReuseStrategy(),
new DirectByteBufferAllocator(), params);
protocolHandler.setEventListener(new EventLogger());
AsyncConnectionManager connMgr =
new AsyncConnectionManager(
new HttpHost(a.getHostName(), a.getPort()), NUM_CONNS,