Currently I am studying the definition of Socle of a group. Also, I came to know that Socle of a finite nilpotent group $G$ is the product of elementary abelian $p$-groups for the collection of primes dividing the order of $G$. I know that Hamiltonian groups are nilpotent of class $2$. Now, I am wondering what can be the Socle of a Hamiltonian group. More precisely, I have the following question.
Let $H$ be an infinite Hamiltonian group, that is, $H$ is an infinite non-abelian group all of whose subgroups are normal. What is the Socle of $H$, $\mathrm{Soc}(H)$?