Cookie parser for socket.io >= 1.0 version