add header inheritance config on RestBuilder