Modeling and Optimization of Cloud-Ready and Content-Oriented Networks