Add session as a named parameter idiom for Client, and clean getter/setters
License cosmetic