Add custom header support to the CORS and WebSocket transports.