Optimizing the TLS record size

Patch «Ilya Grigorik»