Move wait_for_network_service to util so that it can be used for launchi...

...ng wsftpd under python 2.4