TCP: connection establishment, sliding window, nagle's algorithm