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  
typo: "enconding"