ReverseProxy: Fix a gun connection leak when there is an error with no body
- Modify
close/1
function to do the same thing it does for hackney, which is - close the client rather than the whole connection - Release the connection when there is no body to chunk
Might fix (this is here so gitlab does not automatically close the issue) #1977 (closed)