Transparently match HEAD routes in a spec-compliant manner