Fix IPv6 address memcpy
win32: use gnu-style for long args: --foo
configure: mention dns config in the end
configurable arch for mingw build
Add missing error checks