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

Fix HTTPS check.