Add a patch from anstein on Github for IPv6 support.