[client/params] Default to grabbing the parameters from the environment if they aren't provided to the constructor.

Fixes T368