Fixes CVE-2013-0210: arbitrary remote execution risk in the proxy
Added the escape wrapper function