Socket server core for accepting and delegating events