Updated socket.io client