Move internal interfaces to include/netdb.h.