Calculate the length of the serialized frame.
@override int get length { // Type (1) + Error Code (4) + Frame Type (4) + Reason Length (2) + Reason return 1 + 4 + 4 + 2 + reasonPhrase.length; }