WebSockets fix - https://github.com/LearnBoost/socket.io/issues/997