consolidated client network actions into the Client class