Add HKPS support.

This adds new options for serving over TLS (i.e. HKPS) alongside or
instead of plain HTTP.
Address @cmars comments

* build errors as type error
* fix wrong logic in HTTP listener startup
Remove unused config option.
Add docs, fix compile errors.
Merge pull request #21 from kisom/add_hkps

Add HKPS support.