Close resp.Body inside http_output

This fixes #1158 by explicitly closing the connection after shipping the HTTP output.
We got the impression you wouldn't necessarily have a body to close if `Do()` returned an error. The documentation is somewhat ambiguous.
> When err is nil, resp always contains a non-nil resp.Body.