I suppose I just need to make a script that sends the word "CLIENT" and waits for the word "CLIENT" (like the example script)
I'll try that when I get home... Should be easy 
CLIENT might get echo'd back as you send it, I don't know. It should respond with CLIENTSERVER, but waiting for CLIENT might be enough.