#18 commonize to XCStarttls and XCProceed