lib/curl: fix indentation

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/curl: clean up surperfluous types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/curl: clean up CurlMailRequest::init

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/curl: remove indirect creation of basic requests

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
examples: fix indentation of curl examples

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
examples: fix curl_mail with latest changes to the lib

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
example: fix and simplify the curl_http example

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge remote-tracking branch 'alexis/cleanup-curl'