Allow user to control whether Base::reroute() uses a permanent or temporary redirect