Split the server internals into separate files.
HTTP server implementation is finally a bit better than it used to be. It's still messy as hell, but at least it's not in one giantic, amorphous blob. There is still a lot of work to be done, but everything is now properly separated into standalone modules.