Client emits received responses as objects.

And a test. Re: #20