socket.io fails to recognize client connection