Server (main) refactored.
Acceptor implementation.