ConnectionListener type

type ConnectionListener = (socket: INodeSocket) => void