simple client-server over TCP