TCP is a complex protocol.
TCP Interactive (iTCP) [REF] is a research effort into TCP extensions that allows applications to subscribe to TCP events and register handler components that can launch applications for various purposes, including application-assisted congestion control.