Added methods for handling response headers in a Curl request.