Fix SSL detection for CloudFlare