pass down hostname *and* IP from mosh wrapper to mosh-client, in order to handle round-robin DNS
only hop to another IP when the old one isn't among ALL the addresses returned by getaddrinfo (handle round robin DNS gracefully)
also keep trying the last known good IP address (because of round-robin DNS)