Abstraction for determining the current TransportInputStream and TransportOutputStream.