title: Socket.IO issue with illegal origin?
body: <p>I am using :
  "socket.io": "~0.9.10"</p>
  
  <p>I am running into this issue when I go to my apache webserver hosted client.html page hosted on port 80:</p>
  
  <pre><code>XMLHttpRequest cannot load http://localhost:5000/socket.io/1/?t=1348624895534. Origin http://localhost is not allowed by Access-Control-Allow-Origin.
  </code></pre>
  
  <p>I am running SocketIO on my serverside to be on port 5000 as shown below:</p>
  
  <pre><code>io = io.listen(5000);
  io.set("origins","*");
  </code></pre>
  
  <p>However, everytime I load my apache client.html page, I see in my SocketIO server console:</p>
  
  <pre><code>warn: illegal origin: http://localhost
  </code></pre>
  
  <p>How do I get rid of this issue?</p>