title: Socket.io client switching to xhr-polling with error
body: <p>I'm running a Chat-server with Nodejs and Socket.io, in some browsers everything is working fine and using the native websockets.</p>
  
  <p>But in some cases it's using <strong>xhr-polling</strong> with problem.</p>
  
  <p>Firebug output :</p>
  
  <pre><code>GET http://{domain}:8080/socket.io/1/?t={time}
  GET http://{domain}:8080/socket.io/1/xhr-polling/X_mBol8OqjbULLXozLc?t={time} 200 OK 2m
  Error: The connection to ws://{domain}:8080/socket.io/1/websocket/dsEWQdsaDWQEcHTR was interrupted while the page was loading
  ...yep.name="flashsocket",c.prototype.open=function(){var a=this, c=arguments; return...
  GET http://{domain}:8080/socket.io/1/xhr-polling/X_mBol8OqjbULLXozLc?t={time} 200 OK 20s
  GET http://{domain}:8080/socket.io/1/xhr-polling/X_mBol8OqjbULLXozLc?t={time} 200 OK 20s
  </code></pre>
  
  <p>Firebug Screenshot : <a href="http://tinypic.com/view.php?pic=23r5pvb&amp;s=5" rel="nofollow">http://tinypic.com/view.php?pic=23r5pvb&amp;s=5</a></p>
  
  <p>Client Information :</p>
  
  <ul>
  <li>No anti-virus and proxy application is running</li>
  <li>Client is using modern bowser</li>
  <li>I'm using this pieces of code for configuring socket.io</li>
  </ul>
  
  <p>socket.io configure:</p>
  
  <pre><code>io.configure(function(){
      io.enable('browser client minification');
      io.enable('browser client etag');
      io.enable('browser client gzip');
      io.set('transports', [
          'websocket'
          , 'flashsocket'
          , 'htmlfile'
          , 'xhr-polling'
          , 'jsonp-polling'
      ]);
  });
  </code></pre>