Close resp.Body inside http_output

This fixes #1158 by explicitly closing the connection after shipping the HTTP output.
You might be right about that.