Better support for boolean parameters

Client is essentially a pass-thru to any paremeters and while we
sanatize boolean parameters (expecting true/false and replacing by
'true'/'false' for the API) add some code right before making the API
GET or POST call to comvert any boolean parameter passed to a string.