testing HTTPConnection with http and https