thorium: encapsulate multiplexed_message for better robustness

Link: https://github.com/GeneAssembly/biosal/issues/811
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>