libnative: Implement get_host_addresses.
libstd: Use iotest! for for get_host_addresses.
libnative: Avoid gai_strerror on windows.
auto merge of #11732 : luqmana/rust/native-getaddrinfo, r=alexcrichton

The last bit I needed to be able to use libnative :P