How to use multiple connections to speed up apt-get/apt on Ubuntu Linux 16.04 LTS server

How do I speed up my apt-get or apt command to download packages from multiple repos on a Ubuntu Linux 16.04 or 14.04 LTS server? You need to use apt-fast shell script wrapper. It should drastically speed up apt-get/aptitude command by downloading packages with multiple connections per package. All packages are downloaded simultaneously in parallel. It uses aria2c as default download accelerator.