fix RequestListener to work for batched/multi curl requests

The request listener didn't work for batched/concurrent requests.
This fixes that.

fixes #51