Added CORS support to request header.