implement PATCH in Curl; similar to PUT