Socially intelligent networks