Comment debug code
use state in synchronized section
Rename 'state' to "myState"
remove myReadThread & myWriteThread
check messaage
.
Rename session to connection