Corrects problem where app is under HTTPS
Merge pull request #3 from NDrive/https-problem

Corrects problem when app is under HTTPS