WICKET-5563 RestartResponseAtInterceptPageException - add public function to retrieve originalUrl

(cherry picked from commit 4a6cfb90b0671b669e631a06240e5ef4d8c995ea)