Cleaned up the handling of non-SOAP envelopes in 500 responses (e.g. an HTML error page with a 500). This now raises a proper specific exception instead of just a RuntimeError.