MTR,
Regarding the problem of the XML data in the replies: I dug into this a little further. We haven't been bothered by this problem, because, for my SMS provider, Telnyx, the XML formatting causes the message to be malformed and the message send to error.
There are probably several ways to...