Create client.cpp

please use with svr.cpp togother