Adjust Request object to handle better different rewritebase