making this my own

adding better error messaging on setOption problems
adding support for CURLOPT_USERPWD