Split the SETUP request into a separate function, as a prelude into allowing