On the WebSocket service.
It's not too far from being finished now. I just have to make some
sense of the code again and make sure it's correct.
Now that json-rpc-shell should be able to run against this, I can
also finally test if both of them work as they should.
Some further refactoring, added a few comments, etc.
It's not about adding huge chunks of code anymore, and I'm slowly
moving towards getting the details right.
There's still a ton of TODO items, though.
Added static content serving with sane content type detection.
Started working on WebSockets (meanwhile neither SCGI or FastCGI is
finished and almost nothing has been tested).
I'm trying to figure out everything at once, i.e. the entire structure
of the application from top to bottom, trying to converge on a workable
design while refactoring still doesn't hurt as much as it would once
it's established.