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
Merge pull request #6 from synox/patch-1

clear response buffer before using it (Thank you @synox!)