**Use case**
Some program left garbage in terminal.

**Describe the solution you'd like**
Subset of what `reset` command does.
Packet packet = n->receivePacket();
            switch (packet.type)
            
                case Protocol::Server::EndOfStream:
                    onEndOfStream();
                    return true;
                case Protocol::Server::Exception:
                    onReceiveExceptionFromServer(std::move(packet.exception));
                    return false;
                case Protocol::Server::Log:
                    onLogData(packet.block);
                    break;
                default:
                    throw NetException("Unexpected packet from server (expected Exception, EndOfStream or Log, got "
                        + String(Protocol::Server::toString(packet.type)) + ")", ErrorCodes::UNEXPECTED_PACKET_FROM_SERVER);
            }
        }
    }
    /// Process Log packets, used when inserting data by blocks
    void receiveLogs()
    
        checkPacket();
        while (packet_type && *packet_type == Protocol::Server::Log)
        
            receiveAndProcessPacket(false);
            packet_type = n->checkPacket();
        }
    }
    void initBlockOutputStream(const Block & block)