Added support for HTTPS over another HTTP proxy