Provided an implementation for gai_strerror and gave getaddrinfo sensible default behaviour when hints is set to NULL. Ideally getaddrinfo should supply multiple addrinfo values when hints is NULL or ai_family is set to AF_UNSPEC but this is a somewhat more complex proposition