Server: Fix buggy handling of ID sizes in TT_ID/TA_ID/T_ID commands.