some changes before new zmq bindings
rpc rewrite, using different go binding