make socket.io client connect on current hostname instead of localhost