Added possibility to run server in HTTPS.