Add naive handling of https endpoints.
Merge pull request #2 from thetestpeople/master

Add naive handling of https endpoints.