added proxy abilities to http.rb