support more versions of the socket.io module