syslogd: tighten up hostname handling.