dispatch_connection: make it easier to see we add a newline
dispatch_connection: reset counters upon encountering garbage

If we find stuff that looks like garbage, reset the buffer and counters
such that we don't append the next data we read onto our garbage.  This
causes "corrupted" metrics when garbage is fed into the relay.