SSLEngine engine = sslHandler.engine();
SSLSession session = engine.getSession();
LOGGER.debug("onFutureSuccess: session = {}, id = {}, isValid = {}, host = {}", session.toString(),
Base64.encode(session.getId()), session.isValid(), host);
if (hostnameVerifier.verify(host, session)) {
final AsyncHandler<T> asyncHandler = future.getAsyncHandler();
if (asyncHandler instanceof AsyncHandlerExtensions)
AsyncHandlerExtensions.class.cast(asyncHandler).onSslHandshakeCompleted();
writeRequest(channel);