Better handling on logging to UNIX sockets in pb_logging/syslog_handler.py
Refactored UnixSyslogHandler.