msg: Add some tests to report_failure
Move message propagation to its own function
msg: Allow command handlers to request messages be reprocessed.
Use ulong and uchar instead of unsigned etc.