Added https option
Merge pull request #5 from xtang/add-https-option

Added https option