Support secure url's
Merge pull request #11 from tumd/patch-1

Support secure urls