added Matt's patches for the tclhttpd server