Improvements to IPC

Fixes ZMQPeriodicReceiver and adds tests for that