Added client/server example

Added client/server example, can be built using CMake. This has been
tested on windows 7 using VS2010.