CurlClient: use correct header size to retrieve raw body