Throw exceptions for TT error responses

Changes the parsing of TT XML to use SAX and improves the handling of response body data on error.