HTTPS mode added (and by default). Fixes #5