NetworkHelper write overhaul