fix for WSGI-based PLCAPI, on behalf of Thomas Dreibholz