[PULL 2/5] io/channel-tls: fix handling of bigger read buffers