Add rsyslog v6 series patch

Hi mate,

Here is a working patch for rsyslog v6 series inclusion, would you please consider merging it ?

Cheers