fix header_size on curl_getinfo