Associate the $client with $session.
Merge pull request #240 from leevigraham/patch-1

Associate the $client with $session.