this version get at least one message to the server, and a response too. jeepers.
misc tidying
got a solution. a weird horrible solution but a solution:

1. run two servers on two threads and two ports.
2. get on with life.