} else {
handler = new HttpSmartProxyHandler(proxyIoSession);
}
proxyIoSession.setHandler(handler);
handler.doHandshake(nextFilter);
}
proxyIoSession.getEventQueue().enqueueEventIfNecessary(
new IoSessionEvent(nextFilter, session,
IoSessionEventType.CREATED));