Allow a separate httpo proxy for APT commands specifically; tidyups

Fixes bug #1213437