Modified host-name finder to avoid using localhost or 127.0.0.1 except
as a last resort, which will probably never happen.
DevSynch
Merge branch 'master' of http://github.com/nickman/apmrouter