Add support for listening on HTTPS

Fixes #3.