New web server

The webserver has been rewritten to use cSocketThreads and cListenThread, and to use streaming parsers.

Currently the functionality should be the same as the old webserver, but with the potential to allow more freedom to plugins later, maybe even uploading files.