add include for cerr
shutdown() the client socket