client talking to server