[gettler] Add a patch from anstein on Github for IPv6 support.
[gettler] Fix the previous commit which broke the ability to create connections to a backend on BSD platforms (at least OS X and NetBSD).