fix(endpoints_server): resp.Body was being read twice in error cases.

In the case of an error, resp.Body was being read at the start of
handleSpiResponse and then again in `newBackendError`. This case
resulted in a blank error.