title: Setting "Origin" and "Access-Control-Request-Method" headers with Jersey Client
body: <p>Jersey client is not setting the "origin" header for me and I wonder if I am missing anything.</p>
  
  <pre><code>String origin="http://www.localhost.com";
  ClientResponse response= webResourceBuilder("my/endpoint")
              .header( "origin" , origin)
              .header("Access-Control-Request-Method", "POST")
              .header("xorigin", origin)
              .header("whatever", "test")
              .accept("application/xml")
              .get(ClientResponse.class);
  </code></pre>
  
  <p>When I inspect at runtime the request headers on the server side, I find "xorigin" and "whatever" headers, but not "origin" and "Access-Control-Request-Method"</p>
  
  <p>How can I set these headers? </p>