Fix HTTPS check.
Merge pull request #3 from nubs/master

Fix HTTPS check.