Fixed getRequestURI() and getRequestURL() to follow the docs