Update the record layer to use TLSv1.3 style record construction