implementing in-proc messaging (more tests pending...)