Implemented a custom transport which updates the cluster leader when a redirect response is received.