Add option to enable and set package manager proxy url

With this feature you can set the proxy url for the package manager.
Currently supports Yum and Apt package managers.