Encode full RequestURI (not just the path) in RequestURI field

Without this, requests like /test?x=1 become /test.