A connection interface to libcurl.