kludge to determine external ip
minor touchups to client-cli
move hostname discovery to LearnHostname()
call LearnHostname() in client
don't call LearnHostname() during testing
Merge pull request #216 from lukechampine/reorg

External IPs