Add function for synchronizing asynchronous ZeroMQ socket pairs; extend ctrl_proc demo to two processes.