Add simple proxy support to plugin

Added code to respect the properties http.proxyHost and http.proxyPort
as well as https.proxyHost and https.proxyPort. Does not currently
support authenticating against said proxies.