tcp server and client initial version.