Associate the $client with $session.