Do not set CURLOPT_NOBODY if we have data to send.
In libcurl version 7.15.5 will CURLOPT_NOBODY (when true) change the HTTP method from PUT to HEAD, even though CURLOPT_UPLOAD is true.