title: Socket.io + PhoneGap
body: <p>When I try to use <a href="https://socket.io/" rel="nofollow noreferrer">Socket.IO</a> with <a href="https://phonegap.com/" rel="nofollow noreferrer">PhoneGap</a> I get this error: </p>
  
  <p>(on iOS where socket.io should be supported)</p>
  
  <blockquote>
    <p>Origin null is not allowed by Access-Control-Allow-Origin.</p>
  </blockquote>
  
  <p>This is because my app is served via <code>file://</code> protocol. What can I do to get around this?</p>
  
  <p>Thanks!!</p>