Issue #3 "Curl error" fixup.

prepended self. to curl() calls