replace zmq with ffi-rzmq for ZMQ 3 or ZMQ 4 support

I replace the zmq with ffi-rzmq for ZMQ 3 support, PUB-SUB of topic will gain benefit from ZMQ 3. High water mark of send buffer is also supported through config parameters. 
Request to merge to upstream.