use poll facility to receive zeromq messages instead of the deprecated nowait API
Merge pull request #187 from chrox/master

use poll facility to receive zeromq messages