lib/curl: allow raw body string in CurlHTTPRequest