Sharpened exception handling for IPv6 support.