This function will be used to truncate all incoming data in a channel, keeping outgoing ones. This may be backported to 1.9.