workaround a bug in libcurl where duplicate content-length headers were being sent