This is up to each individual child.  Socks or barefoot, either is fine.