Adding client example and tweaking server example