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

Fix HTTPS check.