lib/curl: remove indirect creation of basic requests

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>