Assume that $A$ is compact, connected and contractible set in $\mathbb{R}^{2}$ (for example: simple square). If we contract this set to a point the space still will be homeomorphic to $\mathbb{R}^{2}$. Formally: the space $\mathbb{R}^{2}/{}_{\approx}$, where $\approx$ is equivalence relation which equivalence classes are $A$ and singletons, is homeomorphic to $\mathbb{R}^{2}$.
This is should be know, it is propably a folklore in topology, but I could not find a source. It bring to my mind Mosers name, but I couldn't find a right theory. Can you bring proper reference?