Dynamically set the rpc route on the client.