Split wrap_request into its own method so it can be called from elsewhere
Split wrap_request into its own method so it can be called from elsewhere

qbwc/qbwc,rchekaluk/qbwc,ratbeard/qbwc,BreezeWorks/qbwc