added proxy support. Uses the standard JVM sytem properties

added proxy support to AWS connections. 
Uses the standard JVM system properties http.proxyHost and http.proxyPort (for both HTTP and HTTPS).