cpp: More work
cpp: version with boost::shared_ptr for Dispatcher class

boost::strict_lock can't handle std::shared_ptr
cpp: it build!
cpp: Back to using std::shared_ptrs