Wrapper for pecl-curl