Added support for Access-Control-Allow-Origin header