fixes a bug where https:true option doesn't work
Merge pull request #15 from kapeels/master

fixes a bug where https:true option doesn't work