demo version of rover-server.c