client -> server connection with input. First iteration