Rewrite cURL infos with flexible framework

Basically the same as https://github.com/typhoeus/ethon/issues/59 except for infos.