Added support for HTTP PATCH requests to CHttpRequest

fixes #2664