Fix in server
Fixed client flags
Handshake object added, because git
Client work