igrigorik/em-http-request — pull request #178 by peck (2012-03-12 22:20:02+00:00)
Title: Bug sending full URI with socks5 proxy

When EventMachine::HttpRequest was configured to use proxy, the whole uri is sent in the HTTP request instead of just the path. Comment in the code indicates this was intentionally, but I found this to not be the case using the SOCKS5 proxy built into openssh (-D command line option).

I have access to no others socks5 proxies to test, but this pull fixed the problem in my case.