Fixes [#1] - array merging problem in closeIoResponse. Also creates test for this.
Merge pull request #2 from mickadoo/master

Fixes [#1] - array merging problem in closeIoResponse. Also creates test for this.