server: fix logging of size of incoming traffic
introduce version keeping