Atom 1830 braintree mocking

Yes, this is unique to Braintree.  Braintree gzip's the response body (and uses an ASCII-8BIT response rather than UTF-8) so we need this bit of code to emulate their responses.  Without it, the underlying Braintree gem raises an exception.