Add support for Cross-Origin Resource Sharing (CORS) requests.