Now resolves hostname and local username once

Resolving your own hostname when you don't use DNS generally
just blocks untill it times out. This now only does it once on startup.
fixes #17