allow using a proxy for apt and curl calls