makes the game work with recent version of sockets.io