Fix RequestDispatcherRequestWrapper inconsistency between `getRequestURI` and `getRequestURL`

Fix for #861.