Add a flag-compatible wrapper for net.IPNet