Print out information on stdout whenever the TCP socket state will change.