Initial support for CZMQ zthread like functionality