Allow a separate httpo proxy for APT commands specifically; tidyups

Fixed bug #1213437
Merge pull request #152 from iawells/proxy

Allow a separate httpo proxy for APT commands specifically; tidyups