RestPath.IsMatch matches lowercase. Respect X-Http-Method-Override

v4 patches for issues #870 and #871