uloop: add uloop_timeout_pending() function to determine the remaining time of an...