factor out separator handling and prepare parsing the rest of the fields of syslog messages