Added possibility to retrieve and act on all file descriptors that
correspond to a ring buffer.
This can be used to integrate libcappy into one's own event loop.