Memory management bug fix
Merge branch 'streams' of https://github.com/pryv/sdk-objectivec-apple into streams