added an example client that uses pickle