Fix for #23

Changed the result listener to collect all chunks of data, instead of only the first one. Should fix #23.