Added proxy support.

Fixes https://github.com/apt-mirror/apt-mirror/issues/7.