Generic support for invokeRaw(). Can be used to stream responses, etc.