Fix correctly tracking of outstanding events
Timeouts by reference are to count down to 0

To track how much time we've left for a request
Stub resolving with the libmini_event extension
_loop version for async funcs

So they can be used by the sync functions with a libmini_event loop