Add recovery methods for use in recovering a connection state on
reconnect.