Create client.cpp

C++ client implementation.