added some comments to webserver.cpp