Upgraded Socket.IO to version 1 and made it work