fixed issues with Netty HTTPS proxy and SSL