rwl/endpoints — pull request #7 by oremj (2014-02-18 17:58:22+00:00)
Title: 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.