connect(step 1)
connect(step 2)
connect(step 3)
connect(step 4)

seems I did something wrong..........now can't connect to server
Fix the disconnection in step 4
copy from Takashiro
Merge branch 'connect' into dev