[merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-1000110)

Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by RĂ©mi Rampin.
diff --git a/Misc/ACKS b/Misc/ACKS
index b9af726..926cdae 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1204,6 +1204,7 @@
 Jeff Ramnani
 Varpu Rantala
 Brodie Rao
+Rémi Rampin
 Senko Rasic
 Antti Rasinen
 Nikolaus Rath