Added size in text type and extraction of subscription id from recv buffer