[Feature] Add proxy options to plugin define

This allows to make use of a Proxy server for installation of plugins.
This will work for http and https sites.