send active window PID in request headers and use them to create response