tinyproxy: fix CVE-2012-3505

Signed-off-by: Steven Barth <steven@midlink.org>