echo msg to client when client socket connect to server