changed addrinfo sizeof from value to structure to fix os x bug
changed addrinfo sizeof from value to structure to fix os x bug