TCP Client Design
l Establish server address (IP and port).
l Allocate a socket.
l Specify that any valid local port and IP
address can be used.
l Call connect()
l Communicate with server (through
given streams).
l Close the connection.