PS. Current workaround:
options:
# Find proper php const, for example CURLOPT_SSLVERSION, remove CURLOPT_ and transform to lower case.
# List of curl options: http://php.net/manual/en/function.curl-setopt.php
curl:
ipresolve: !php/const CURL_IPRESOLVE_V4