Update client
Revert "just return the response"

This reverts commit 264ea9a49c9c5871337532c93260cf087dd00e70.
Add search folders for envelopes based on search params

Also allow the get_document_from_envelope to return the stream if asked
to via a config option of "return_stream", which needs to be set to true