socket.io-adapter depends on socket.io-parser, so i just copied the parser directory (which now includes the "indexof" module) into the node_modules folder of socket.io adapter