CURLOPT_LOCALPORT were used together (the local port bind failed), and Markus Koetter provided the fix!