Fixed `this` issue
Merge pull request #6 from xtang/add-https-option

Fixed `this` issue