Add a new class called CloseReason which holds the CloseCode and reason text