getaddrinfo: Initialize sockets, to make it work under Windows.