Compute message size automatically

Computation is base on maximum number of messages in retransmit queue
(currently 16368), maximum packet size (estimation 1400) and burst.