Fix redirection from https to http

Closes #97
Merge pull request #102 from fzaninotto/https_redirect

Fix redirection from https to http