Add logger for tcp
Add protocol for server-client