bind() on Darwin is picky about the length of the sockaddr_storage struct passed to it. We now set it according to the family (AF_INET or AF_INET6).