Extracted the apply_config_set function.
Construct url using the protocol param.
Removed class names from the log entries.
Extracted the TestPortsInContainerBase class.
Filled in TestPortsInContainerHttpsSame class.