fix HTTPSConnectionWithCLITestCase when runing on ipv6