moved network_util.py