So it turns out that connecting to an IPv4 address with an IPv6 address is not a very smart thing to do.
That took some debugging. Particularly because I only supplied a domain to resolve.
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !