test1 - using curlpp wrapper for curl, classic curl handler, easy interface, callback for result stream, more or less in C style, not-thread-safe! test2 - trying with a class and a method functor (curlpp)