handle upstream servers as well as direct backends