Handle null requestURI a little more gracefully.

In some circumstances the return value of req.getRequestURI could be
null. For example, if a reference is held to a request from a
completed request cycle. Instead of serializing `null` to the string
`"null"`, treat it as empty. Closes #210