implement generic unix socket driver

closes: https://github.com/rsyslog/liblogging/issues/4