Very basic HTTP client that wraps around libcurl