Miscellaneous improvment in the code

* Improve ThreadPool
* free global curl resources
* Improve timeout
* etc.
Add the possibility to cancel an async operation
Fix properly how connections should be handled in curl...
Add an usafe way of appending data to url
version 0.2.0