engine.setUseClientMode(false);
pipeline.addLast("ssl inbound", new SslHandler(engine));
// add handler
InetSocketAddress remoteSocketAddress = new InetSocketAddress(directRemoteHost, directRemotePort);
pipeline.addLast(new DirectProxyUpstreamHandler(remoteSocketAddress, true, 1048576, new RequestInterceptor(remoteSocketAddress), " -->"));
}
}, directLocalSecurePort, false);
}