HTTParty ist eine Ruby-Gem, die Net::HTTP mit einem freundlichen DSL umschließt:
require 'httparty'
HTTParty.get('https://example.com',
http_proxyaddr: 'gateway.proxied.com',
http_proxyport: 1080,
scheme: 'socks5h'
)
Das socks5h-Schema leitet sowohl HTTP als auch DNS über Proxied's Carrier-IPs weiter.