This should also include handling large messages when encoding connect frame, and we have a large will message.