Cognitive Architecture for the Internet of the Future