First attempt at IPv6 support
Fixed to get IPv6 to compile on Solaris
Added include file so IPv6 support compiles on AIX 5.3 and 6.1