fixed some windows bugs (ipv6 won't work for me, will look into it later)