Fixing #4641: Curl PUT request does not post request body

Using CURLOPT_CUSTOMREQUEST for PUT fixes this.