Fixes for changes to the socket.io API