Factor out shared request logic in driver.
Factor out shared request logic in driver.

neiljerram/felix,TrimBiggs/calico,Metaswitch/calico,neiljerram/felix,matthewdupre/felix,neiljerram/felix,neiljerram/felix,alexhersh/calico,alexhersh/calico,Metaswitch/calico,TrimBiggs/calico,matthewdupre/felix