Move prototype of *_strerror into public header
Add ref and unref functions for blobs