httpendpoint: Drop buffer during encodinbin exchange

Change-Id: I91d3be7f064f7b9ff1c21bd35fc230baff3baad0