Add a Syslog octet counting frame decoder. (RFC6587)

See: http://tools.ietf.org/html/rfc6587#section-3.4.1

Autodetect framing type to transparently support both methods on the
same input.