Children aren't stupid. Or at least they can be made less stupid by teaching them. They are surprisingly perceptive, and by the time they can chat online, they have little trouble with social nuance in my experience.
This is obviously easier to do with kids that aren't getting the support they need at home, but it's still not that hard to do with those that are thriving.