add logic in to Clinet and document to get attachment
update composer.json
ZendFramework will be patched the issue in the version 2.2.3
https://github.com/zendframework/zf2/pull/4897