Set tr as the client transport.
tr
This function takes ownership of the passed tr.
a StreamTransport
a client Transport