IE 9 - socket.io is taking forever to connect

I'm using sails.js / node.js / socket.io for an app and for some reason the initial connection is taking forever in IE 9. I can only imagine it's the same in IE 8. 10+ works fine as they support websockets.

What it seems to be doing is attempting each transport type and then timeout after 10 seconds. Then after each of the possible transports ['flashsockets', 'xhr-polling', 'jsonp-polling', 'htmlfile'] it seems to take another 60 seconds to connect.

So it's taking almost exactly 90 seconds for each new connection.

Here is a screenshot of the network activity. It seems strange that the htmlfile attempt is going at the same time as the xhr-polling and it's almost always exactly 90 seconds.

enter image description here