Add support for custom cURL options

Additional cURL options can now be set via the public static variable $curlOptions.
The format is: array(CURL_OPT_NAME => $value)
Those options are applied right before curl_exec.