added experimental curl support