fixed some bugs in tpdu size negotiation code. Started adding support for ED TPDU