Add IPv6 support (#68).
IPv6 loopback support too.
Added more #ifdefs for IPv6.
TcpSocket: IPv6 handling throughout (#68).
Merge branch 'ipv6' of https://github.com/twaugh/tigervnc into ipv6
inet_ntoa() want's the address directly, not a pointer to it
Don't assume that it's IPv4 just because it's not IPv6

There might be more protocols in the future, and we might also
misdetect things depending on varying IPv6 functions being missing.
Protect IPv6 address strings with []

This is the format we support when converting a string to an
address, so it makes sense to use them the other way around.
Merge branch 'ipv6' of https://github.com/CendioOssman/tigervnc