title: How can I override the Origin header in Chrome when connecting to a WebSocket?
body: <p>I am trying to connect to an external web socket server, which is <em>not</em> run by myself. I would like to connect to it from a localhost javascript file, therefore the origin header has null value.</p>
  
  <p>I understand that this is a measure against cross-site forgery. However, since I am on localhost, I should be able to fake this, by getting Chrome to send a custom Origin header.</p>
  
  <p>Is it possible? (if I need an extension, that is fine)</p>
  
  <p>If not, what is my best option to achieve the above? Thank you.</p>