support for detecting SSL proxied connection