Time Warner’s AOL will buy the social network Bebo for $850 million in cash, acquiring a worldwide user base of 40 million as well as a developer-friendly platform. Bebo was known to be shopping for a buyer, but the move came as something of a surprise because the social networking site already has a relationship with Yahoo, which won a contract last fall to deliver advertising to it.