session.c: use blobmsg_type() instead of blob_id()