fix absent of req.originalUrl

Middleware fails when req.originalUrl is not present.

Here is related discussion https://github.com/expressjs/serve-static/issues/3