Create client.cpp

TCP and UDP client