Add documentation for getaddrinfo and getnameinfo