socket.io connection event not firing in firefox : <p>Im having something like the below code.</p>

<pre><code>&lt;script src="/socket.io/socket.io.js"&gt;&lt;/script&gt;
&lt;script&gt;
  var socket = io('http://localhost:8080');
  socket.on('connect', function(){
      socket.on('some-event', function(data) {});
  });
  socket.on('disconnect', function(){});
&lt;/script&gt;
</code></pre>

<p>Inside the connect callback I have some code that responds to messages. This works perfectly fine on chrome. On first page load it works fine on firefox. If you reload the page then the connect event does not get called.</p>

<p>Im using 1.4.8 version of server and js client</p>
