remove .writeHead patch

no middleware uses the “header” event anymore
move the patch to the response proto
some jshint cleanup

some more errors but whatever
use path-to-regexp