Misuse of social media 'a real problem' for solicitors