Add OpenBSD, FreeBSD, NetBSD support for network.netstat

Fixes #12121.