Implement session id TLSv1.3 middlebox compatibility mode