fix(logger): properly parse incoming syslog messages

pulled out from #1483

closes #1403