add qos support

Hi! I've added qos support. I've only checked prefetch_count, so I don't guarantee that other parameters work.
so I ve' removed it - now my pull request adds only `prefetch_count` to public API