deps: mocha@~1.21.4
Return undefined if req.url is undefined