fix evbuffer_peek usage in http_transfer_body