Mathematical Principles of the Internet, Volume 1: Engineering