text: export const STATE = {
    CONNECTING: 0,
    OPEN      : 1,
    CLOSING   : 2,
    CLOSED    : 3,
  }
  export const FRAMES = {
    DATA: 1,
    END : 2,
  }
  export const SOCKET_CODES = {
    CLOSE_PROTOCOL_ERROR: 1002,
    CLOSE_UNSUPPORTED   : 1003,
    CLOSE_BAN           : 4005,
  }
  