remote-curl: use post_rpc() for protocol v2 also