Add HTTPS support.
Add HTTPS tests.
Merge remote-tracking branch 'calebcase/feature/https'