Initial concurrency refactoring work on muxserver.