Initial version for use with rsyslog as a plugin