Feature/fix 11 streaming request

Fix for #11

Allows the configuration of cache path in order to be available for the invoker to clean it after use when doing streaming requests.

cc/ @koke  
It return an error that has the reason of the exception that could be important to react to it.