----------------------------------------------------------------------------
supported options

CURLOPT_URL		string
CURLOPT_PROXY		string	'proxy...com:8080'
CURLOPT_PROXYPORT	long
CURLOPT_USERPWD		string	'user:passwd'
CURLOPT_USERAGENT	string
CURLOPT_COOKIE		string	'name=contents;'
CURLOPT_POSTFIELDS	string
CURLOPT_FOLLOWLOCATION	bool
CURLOPT_TIMEOUT		long	in seconds

CURLOPT_PROXYUSERPWD	string	'user:passwd'
CURLOPT_HTTPPROXYTUNNEL	bool
CURLOPT_FAILONERROR	bool
CURLOPT_REFERER		string
CURLOPT_SSLCERT		string	'PEMfilename'
CURLOPT_SSLCERTPASSWD	string	'password'
CURLOPT_SSLVERSION	long
CURLOPT_COOKIEFILE	string	'cookieFile'
CURLOPT_CUSTOMREQUEST	string
CURLOPT_TIMECONDITION	long	enum
CURLOPT_TIMEVALUE	long	in seconds
CURLOPT_MAXREDIRS	long	redirection limit

CURLOPT_NETRC		bool
CURLOPT_FTPLISTONLY	bool
CURLOPT_FTPAPPEND	bool
CURLOPT_TRANSFERTEXT	bool
CURLOPT_RANGE		string	'100-200,250-300'
CURLOPT_FTPPORT		string
CURLOPT_LOW_SPEED_LIMIT	long	in bytes per second
CURLOPT_LOW_SPEED_TIME	long	in seconds
CURLOPT_RESUME_FROM	long	offset in number of bytes
CURLOPT_CRLF		bool

CURLOPT_INTERFACE	string
CURLOPT_KRB4LEVEL	string
CURLOPT_SSL_VERIFYPEER	bool
CURLOPT_CAINFO		string	'filename'

CURLOPT_VERBOSE		bool
CURLOPT_HTTPHEADER	list
CURLOPT_QUOTE		list
CURLOPT_POSTQUOTE	list

CURLOPT_HEADER		bool
CURLOPT_NOBODY		bool
CURLOPT_PUT		bool
CURLOPT_UPLOAD		bool
CURLOPT_FILE		file	'filename'
CURLOPT_WRITEHEADER	file	'filename'
CURLOPT_INFILE		file	'filename'
CURLOPT_STDERR		file	'filename'

----------------------------------------------------------------------------
CURLOPT_HTTPPOST	   List
CURLOPT_PASSWDFUNCTION     Proc
CURLOPT_PROGRESSFUNCTION   Proc
----------------------------------------------------------------------------
Extended API

 CURLOPT_FILE
 CURLOPT_WRITEFUNCTION
 CURLOPT_WRITEHEADER
 CURLOPT_HEADER

 CURLOPT_INFILE
 CURLOPT_READFUNCTION
 CURLOPT_INFILESIZE
 CURLOPT_UPLOAD

 CURLOPT_POST
 CURLOPT_POSTFIELDSIZE

 CURLOPT_NOPROGRESS
 CURLOPT_MUTE
 CURLOPT_ERRORBUFFER
----------------------------------------------------------------------------
