thorium: add calls to save request message and reply message for cache

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>