Work out some codec issues in syslog protocol