Perl extension interface for libcurl