Detect cURL on initialization rather than on each request