Forced XHR polling due to old websockets implementation in phantomjs

I am using node-phantom as a dependency to my UNIT test lib, grunt-tdd (https://github.com/christianalfoni/grunt-tdd). Due to new version of phantomjs or new version of socket.io it has stopped working.

I have gone through node-phantom and it seems to have stopped completely. The client is able to connect to the socket.io, but no messages are handled by the client when emitted from the server. By forcing "XHR polling" everything worked as it was supposed again.

I suggest to force XHR-polling until phantomjs 2.0 is out with the latest websocket implementation.

Thanks for building a great bridge! :-)