Robustify zmq communication backend

* Robustify zmq communication backend
* Simplify profile API
* Integrate bugfixes from clang++ error reporting