changed how sb getaddrinfo works such that it supports storing multiple results