Add hnetd_time and hnetd_random convenience functions