middleware providing the current absolute url as req.href