Detect HTTPS via proxy server