Added optional diagnostic headers to proxy's response