spdy rewrite