Connectifying a topological space by adding one point