Issue #7275 has been reported by puchuu (Andrew Aladjev).

----------------------------------------
Bug #7275: net/http wrong status line: "\x00HTTP/1.1 200 OK"
https://bugs.ruby-lang.org/issues/7275

Author: puchuu (Andrew Aladjev)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]


1. install proxychains
2. proxychains irb
ProxyChains-3.1 (http://proxychains.sf.net)
1.9.3p194 :001 > require "net/http"
 => true 
1.9.3p194 :002 > res = Net::HTTP.start("www.google.com", "80") do |http|
1.9.3p194 :003 >     http.request Net::HTTP::Get.new("/")
1.9.3p194 :004?>   end
|S-chain|-<>-112.83.231.254:6666-<><>-74.125.232.49:80-<><>-OK
Net::HTTPBadResponse: wrong status line: "\x00HTTP/1.1 302 Found"
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2564:in `read_status_line'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2551:in `read_new'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1319:in `block in transport_request'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in `catch'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1293:in `request'
	from (irb):3:in `block in irb_binding'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:745:in `start'
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:557:in `start'
	from (irb):2
	from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>'


-- 
http://bugs.ruby-lang.org/