tcpmon is an open source and free Java based utility for monitoring the data flowing on a TCP connection.
tcpmon is used by placing it in-between a client and a server. The client is made to connect to tcpmon, and tcpmon forwards the data to server along-with displaying it in its GUI.