Currently we call a function to set relaying ($transaction->relaying(1)),
and directly check $transaction->{_relaying} to see if this is a relaying
user.
That may be what /you/ are doing, but there is no reason to do it that way. The relaying() method has always been a set/get polymorphic function, as is the new relay_client() method for $connection. I was just showing the internal name for discussion purposes; the class method can be and should be used exclusively.
John