add on_msg_begin to reset SyslogMessageHead