When "discardTruncatedMsg" is enabled in imtcp, messages were incorrectly skipped if the last character before the truncation was the LFdelimiter. Add two tests for octet stuffing and framing. closes: https://github.com/rsyslog/rsyslog/issues/4281