[curl] Set cURL to use local virtual hosts