Express middleware for rewriting URLs without doing an http redirect.