Use struct addrinfo in connection_t to hold all host data such as IP