'Wrap `socket.getaddrinfo` to make it easier to patch for unit tests'

@staticmethod
def _getaddrinfo(host, port, family, socktype, proto):

    return socket.getaddrinfo(host, port, family, socktype, proto)
