add basic support for curl