SocketReadyState:
    | "opening"
    | "open"
    | "readOnly"
    | "writeOnly"
    | "closed"