Add a method of easily debugging upnp issues by dumping the complete response to stdout if the HTTPREQUEST_DEBUG environmental value is set.