The Compositional Architecture of the Internet