Made the packet size configurable. Setting the size to 1400 improves conditions when there are packet loss, as it avoids block-of-line for the integrity check of the TLS record. The tradeoff is more overhead.