fix: unchanged counters were treated as overflows
ws-protocol changes, implemented history retrieving