Use secure protocol
Merge pull request #3158 from dosire/master

Use secure protocol