Extended TCP protocol and added client - server handlers