--- /dev/null
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+</keywords>
+</info>
+
+<client>
+<server>
+http
+socks4
+</server>
+<name>
+Request forwarded through a SOCKS5 proxy. Destination host specified by invalid IPv4 address.
+</name>
+<features>
+proxy
+</features>
+<command>
+-s --write-out '%{stderr}%{response_code}\n' http://127.1234.0.1:%HTTPPORT/socks5/%TESTNUMBER
+</command>
+</client>
+
+<verify>
+<stderr>
+503
+</stderr>
+</verify>
+</testcase>