multi-threaded publisher (and subscriber) using proxy C++ example

tested on centos using g++