Fix false positive when detecting https.
Merge branch 'fix-https-detection'