Performance Analysis of TCP on Channels with Memory