Handle `RestClient` errors with no response body.

For example, the `ServerBrokeConnection` error.
Raise a GdsApi exception after too many redirects.