s/messages/envelopes/ in Ruby HTTP error handling.