bstring bNetStr2Bstr (const char * buf) * * Convert a netstring to a bstring. See * http://cr.yp.to/proto/netstrings.txt for a description of netstrings. * Note that the terminating "," *must* be present, however a following '\0' * is *not* required. */