Enable running iodocs under https

Add options to config.json so the user may specifiy a
key.pem and cert.pem file. In addition, enable a boolean toggle
for https mode.

All the options are in config.https:
* on: boolean
* keyPath: path to key.pem file
* certPath: path to cer.pem file