Added network utility functions