Surjection from compact to Hausdorff implies quotient