Creates a self-signed https server