Fix RequestDispatcherRequestWrapper inconsistency between `getRequestURI` and `getRequestURL`

Fix for #861.
when would this happen?  please leave a comment explaining.  otherwise it's pretty confusing.