log.error("Error starting the IOReactor", e);
}
metrics = new NhttpMetricsCollector(false, sslContext != null);
handler = new ClientHandler(cfgCtx, params, metrics);
final IOEventDispatch ioEventDispatch = getEventDispatch(
handler, sslContext, sslIOSessionHandler, params, transportOut);
// start the Sender in a new seperate thread
Thread t = new Thread(new Runnable() {
public void run() {