Added boost log.
Ported zmq c example to the c++ API.