Added the ability to set multiple curl_opts with a request. Can be
used to set timeout, basic auth etc.