2 - Refactor resolve_my_address() so it returns the method by which we
3 decided our public IP address (explicitly configured, resolved from
4 explicit hostname, guessed from interfaces, learned by gethostname).
5 Now we can provide more helpful log messages when a relay guesses
6 its IP address incorrectly (e.g. due to unexpected lines in
7 /etc/hosts). Resolves ticket 2267.