Feature/connectionmonitor

This merge includes the whole features/pipeevents branch too.

Basic support for pipe stats in zmq (DSP-31), does not currently include totals but this has been raised in jira as an improvement.