Support file upload

see http://www.php.net/manual/en/function.curl-setopt.php.
the CURLOPT_POSTFIELDS option description.