Get state transport working. Fix buf in NetStateStore that resulted in dead pointers being stored.