Function that takes middleware parameter & runs middleware against request
Function
middlewareWrapper - A "Node" and "Redux" style middleware that is called just before
the request is made from the SDK. This allows you access to the request for modification.
A request object container of the URL and the Request Init object