Fix another off-by-one error on malloc/memcpy. *sigh*
Better error reporting on curl errors, make sure we exit non-zero.
Version bump.