listen method
Listens to a specific event from the socket.
Throws SocketNotConnectedException if not connected. Throws SocketEventException if event listening fails.
Implementation
Future<void> listen(String eventName) {
throw UnimplementedError('listen() has not been implemented.');
}