http: Properly handle chunked transfer-encoding for replies to post data