Modified http.rb to set a proxy from the http_proxy environment variable...

Modified http.rb to detect whether the http_proxy environment variable has been set and use it if available. This mirrors the behaviour of other ruby http libraries.