Made compatible with r_s2

Based on [#5](https://github.com/papertrail/remote_syslog2/issues/5)