tests: added a passing test case for connecting to IPv6 addresses via cosockets.