multi: add send_txn_with, use in barrier

Transaction-based messages always require the same error handling, with
the matching and transformation of the response being the only thing
specific to the original request. send_txn_with encapsulates the error
handling, and takes the message-specific response handling as a
function.
mulit: implement aggregate stats request for 0x01