NHttpClientHandler handler = new MyNHttpClientHandler(reqs, params);
IOEventDispatch ioEventDispatch = new DefaultClientIOEventDispatch(handler, params);
try {
ioReactor.execute(ioEventDispatch);
} catch (InterruptedIOException ex) {
System.err.println("Interrupted");
} catch (IOException e) {
System.err.println("I/O error: " + e.getMessage());
}