migrated to WWW::Curl for performance reasons