Sends a command (encoded as a list of bytes) to the server.
@override void send(List<int> data) { try { _socket?.add(data); } catch (e) { onError?.call(e); _handleDisconnect(); } }