Add some functions to utils_net