Transforms the channel before returning it to the caller. This can be used to add extra data to the channel object and/or encrypt/decrypt it.
The transformed channel.