Sets Origin header on request with CORS flag set or on requests other
than those with GET/HEAD methods

Updates WPTs