clear response buffer before using it

Given one makes two http requests. The first response is long, the second response is shorter. The second response also contained data from the first request. this should now be fixed