implement PATCH in Curl; similar to PUT

file permissions changed; PATCH implemented in Curl