http: Fix memory leak, free compressed reply data after buffering it out