Separate Asio compilation doesn't work on Windows

This reverts commit cb78ae2843e50ca4320a039ace26a7cea3aff87d.
Reorganize includes
Remove daemon singleton, work around deadlock-on-exit