refactored HTTPSConnection to be HTTPConnection, to match other tests