CURL for application level protocols