TCP object with automatic states, done