Add support for eventServer in engine2.