ginetaddress: fix addr/string conversions on windows
ginetaddress: fix addr/string conversions on windows

When parsing an address, we need to re-set "len" between IPv4 and
IPv6, since WSAStringToAddress() might set it to sizeof(struct sin_addr)
when trying to parse the string as IPv4, even if it fails. Also, we
need to make sure to not pass strings to WSAStringToAddress() that it
will accept but that we don't want it to.

When stringifying an address, we need to clear the sockaddr before
filling it in, so we don't accidentally end up with an unwanted
scope_id or the like.

https://bugzilla.gnome.org/show_bug.cgi?id=701401

mzabaluev/glib,MathieuDuponchelle/glib,Distrotech/glib,Distrotech/glib,ieei/glib,johne53/MB3Glib,krichter722/glib,endlessm/glib,gale320/glib,mzabaluev/glib,gale320/glib,Distrotech/glib,ieei/glib,cention-sany/glib,johne53/MB3Glib,krichter722/glib,cention-sany/glib,lukasz-skalski/glib,mzabaluev/glib,MathieuDuponchelle/glib,endlessm/glib,tchakabam/glib,gale320/glib,cosimoc/glib,krichter722/glib,tchakabam/glib,MathieuDuponchelle/glib,endlessm/glib,ieei/glib,cosimoc/glib,johne53/MB3Glib,johne53/MB3Glib,tamaskenez/glib,cention-sany/glib,MathieuDuponchelle/glib,MathieuDuponchelle/glib,tamaskenez/glib,ieei/glib,Distrotech/glib,cosimoc/glib,tamaskenez/glib,cosimoc/glib,tamaskenez/glib,lukasz-skalski/glib,tamaskenez/glib,mzabaluev/glib,gale320/glib,cention-sany/glib,lukasz-skalski/glib,krichter722/glib,tchakabam/glib,krichter722/glib,johne53/MB3Glib,endlessm/glib,johne53/MB3Glib,lukasz-skalski/glib,Distrotech/glib,cention-sany/glib,endlessm/glib,cosimoc/glib,lukasz-skalski/glib,ieei/glib,tchakabam/glib,mzabaluev/glib,gale320/glib,tchakabam/glib