added support for HTTPS
Merge remote-tracking branch 'origin/master'