Create HTTPS server if requested.