Enable CORS for HTTP server.