Matt Harden's (modified) patch to do getservbyname() lookups on port-