Yes, correct, there is a curlXml also.
curlXml2 is made for tenants.
Both could be combined but I'm afraid it will take a lot of effort to make all "old" harness tests work.

We could create an issue about cleaning up in harnessFunctions.sh (and the consequent changes in harness tests).

Also the brokerStart function should change, to have only one fixed parameter (CM/CB), while all following parameters are passed directly to the broker.

A lot of work here to make it "nice".