Use the handy curl_setopt_array instead for additional params beyond the basics