solves #28 by optimizing cURL calls for more restrictive server setups