Add Cross-Origin Resource Sharing (CORS) support.