buf fix for http client, need read resp.body to eof