feat: add https support via new config.json server.scheme key
feat: add https support and make socket.io optional