if (layeringStrategy != null) {
iosession = layeringStrategy.layer(iosession);
}
}
final ClientAsyncConnection conn = this.connFactory.create(
"http-outgoing-" + entry.getId(),
iosession,
params);
iosession.setAttribute(IOEventDispatch.CONNECTION_KEY, conn);
if (proxy == null) {
tracker.connectTarget(conn.getIOSession() instanceof SSLIOSession);
} else {
tracker.connectProxy(proxy, false);
}
}