T4 todo update
T4 big refactoring of HttpServer: using function as parameters, cleaning code, changing the way of managing the thread