Support for setCookieFile and setCurlOptions