Socket Connection
constructor(id: String, url: String, openedAtEpochMs: Long, closedAtEpochMs: Long? = null, state: SocketConnectionState = SocketConnectionState.OPEN, error: String? = null, reconnectAttempt: Int = 0, messages: List<SocketMessage> = emptyList(), protocol: SocketProtocol = SocketProtocol.WEBSOCKET)