Path-independent socket.io client