Created tcp server and client