Using PHP cURL to Send Queries to Solr