fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream)