refine and enhance syslog parser to better handle errors and more correctly parse messages - minor improvements in performance added as well