Fix windows listening on IPv6 only.
Merge pull request #658 from godarklight/fix-ipv6-server-on-windows

Fix windows listening on IPv6 only.