added possibility to select the maximum TPDU size