title: How to order the HTTP headers sent by HttpClient or WebRequest?
body: <p>Id like to be able to control how the headers are ordered when sending a web request using either HttpClient or WebRequest.</p>
  
  <p>When using HttpClient, Host and Connection are always added at the end, and the other headers are ordered in order that they were added to the Headers collection. </p>
  
  <p>WebRequest adds Host to the end of the headers.</p>
  
  <p>I know that the order of headers does not matter to the webserver, however, id like to order them in a specific way, because the order will be checekd programatically at the server side. </p>
  
  <p>Is there a way to do this?</p>