use curl instead of libwww-perl