HTTP HTTP GET HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: close Content-Type: text/html X-Control: swsclose Blafasel HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: close Content-Type: text/html X-Control: swsclose Blafasel http socks4 # XXX: The test also requires that localhost resolves to 127.0.0.1 ... perl -e "print 'Test requires %HOSTIP 127.0.0.1' if ('%HOSTIP' ne '127.0.0.1');" Request forwarded through a SOCKS5 proxy. Destination host specified by domain name. proxy http://localhost:%HTTPPORT/socks5/%TESTNUMBER GET /socks5/%TESTNUMBER HTTP/1.1 Host: localhost:%HTTPPORT User-Agent: curl/%VERSION Accept: */*