Implement https in Netty client
Address review comments