Enable providing custom CORS handler