added sample client and server