Thinking about a web terminal again as somewhere to code during work. Quite tempted to write the server side stuff in C since there's not going to be much of it.
The HTTP side will need to parse requests enough to send static files, but that's only the request line.
Need a select/poll loop for sockets, might as well use sendfile for static files.