Add CORS middleware to server handler.