fix HTTPSConnectionWithCLITestCase when runing on ipv6
Merge pull request #6710 from ctomc/build-ipv6

fix HTTPSConnectionWithCLITestCase when runing on ipv6