Solved connection protocol between client and server

They are ready to communicate.
Safe signal handling.
Server can kick player.
Server accepts a predefined limited number of clients.