HTTPS support

Server should shutdown?