Changes to client-server example

Example now working