when you need to pass custom parameters to curl in wordpress but still want to use the wordpress functions to detect a transport correctly just can just do the following in you wordpress theme
the code above use the http_api_curl wordpress hook to add new options before calling curl_exec()
Sources:
https://developer.wordpress.org/reference/hooks/http_api_curl/
https://developer.wordpress.org/reference/classes/wp_http/_get_first_available_transport/
https://developer.wordpress.org/reference/functions/wp_remote_request/
https://developer.wordpress.org/reference/classes/wp_http/
https://developer.wordpress.org/reference/hooks/http_api_transports/