HTTPS support

$HOME refers to the environment variable, these should be like so:

"${process.env.HOME}/.dnschain/key.pem", etc.