zmq wrapper and delivery working as local wrapper