Combine netdb.h

Having both `netdb.h` and `net/netdb.h` was causing some warnings and errors:

> warning: implicit declaration of function 'getaddrinfo' is invalid in C99
> error: incomplete definition of type 'struct addrinfo'
> etc.

The change of `AF_UNSPEC` was necessary for me, perhaps not others.