Added support for HTTP Proxy

Added initialization code to the S3FileLib module to use the environment HTTP proxy if set. I also noted that the file mode should be an integer to work.

Thanks for such a useful cookbook!  
Alex