add declarations for net.isIP*