[Network] fixed the handling of first TCP message

Moved back its handling from ListenThread to PeerSocket.
Merge branch 'ui' of https://github.com/SharUTC/SharUTC into ui