added Rest API
Merge remote-tracking branch 'origin/zeromq' into zeromq