Client Socket

Added the code for client socket.