refs #8 remove unused curl fucntion