*/
public static void setRootHandler(HttpHandler handler) {
if ((proxy || spdy || spdyPlain) && !ajp) {
//if we are testing HTTP proxy we always add the SSLHeaderHandler
//this allows the SSL information to be propagated to be backend
handler = new SSLHeaderHandler(new ProxyPeerAddressHandler(handler));
}
if(spdy) {
final HttpHandler existing = handler;
handler = new HttpHandler() {
@Override