Add support for logical clocks in server.