change from tcp server to tcp client