fixing socket.io host fetch