Get Primary IP from cURL