added https heroku support (fixed #1)