Moved ns_start_thread() from net to util.