hostname: Sanity checks in corner cases.

Improve response when a resolver is missing.
logger: Source address resolution.
ifconfig: Changeable flags on GNU/Linux.

A previous commit declared too many interface flags
to be fixed on GNU/Linux.  Liberate them again.
ifconfig: Command line parsing.

Implement flag parsing for BSD and Solaris.
Accept only changeable flags on GNU/Linux.