Added locking & fflush() for Curl::download() + Implemented Curl::putFile() & globals defaults.