convert a curl cmdline to libcurl source code daniel.haxx.se/blog/2022/09/12 - tldr: --libcurl is your friend