In r228193 the test of CONNPRIV have been moved to before the _usleep and
send in vsyslog(). When syslogd restarts, this would prevent the message
being logged after the disconnect/connect dance for scenario #1.
This patch is mostly Peter Creath's proposed change in PR #194751 with
minor cleanups.