httpservice: implement https
Merge pull request #23 from rogpeppe/024-httpservice-https

httpservice: implement https