Use the EventManager abstraction inside process.cpp (instead of the SocketManager derived class).
This also tackles the rename of the variable socket_manager -> event_manager.