http: libcurl-based implementation