Added PATCH support ( pull request by Emil Bay -tixz- )