new InetSocketAddress("www.apache.org", 80),
null,
new HttpHost("www.apache.org"));
NHttpClientHandler handler = new MyNHttpClientHandler(reqs, params);
IOEventDispatch ioEventDispatch = new DefaultClientIOEventDispatch(handler, params);
try {
ioReactor.execute(ioEventDispatch);
} catch (InterruptedIOException ex) {
System.err.println("Interrupted");