fix(logger): properly parse incoming syslog messages

pulled out from #1483