incremental implementation of the web server