Common contacts and social networks