client now read from stdin and send command to server