record original uri before reroute into request env

Added ORIGINAL_REQUEST_URI to record the original uri before the rerouting is done.