It seems that’s a decision of the client, not of the relay.
A client can easily behave as a pipe to another relay as shown by the nostcat’s pipe example: nostcat: https://github.com/blakejakopovic/nostcat
Feels like the idea of the protocol is to make servers dumb and leave cleverness to clients?
As if relays are dumb air and clients create the virus.