Proxy fixes

The S3 plugin did not work in our environment as we are behind a secured proxy. The two commits make sure the proxy settings are used throughout the plugin and the settings are pulled from the jenkins global configuration and not plugin specific.