Basic server with error counting and a report (#3)