handle head method when get is defined
refactor method matching per https://github.com/koajs/route/pull/19/files#r17820641
2.3.0