server: [proto] tweak state events
tests: add server manager and base tests