Make persistent proxy test server behavior depend on headers.
Allow override of above and test both cases (header-dependent
and always persistent).