Mmmm, the net.isIP function is actually linked code from libcares. I guess we'd have to write our own.