Fix HTTPS check.