Added the possibility to set Trace Level from extern

Tracing the http calls and other traceable functions
can now be activated dynamically on runtime from
external code.