Removed PEAR usage for private network detection

Refs #216

Delivery is not well suited to PEAR's heavy weight. I've brought back
some phpAdsNew code from the dead in order to refactor the
MAX_remotehostPrivateAddress function. Maybe there was a reason to drop
that code in the first place?