primary tcp version of client-server
threaded client-server