Add ipv6 support

Add ipv6 support, tested in Windows 7 and debian 7. I don't have a MAC OS, it is not tested.

PS: 
synergys run as ipv4 mode as default, use -a [::] to turn ipv6 mode.
I don't know how to modify synergy(GUI), so it is now only working start from terminal with args.