proactor base class and demo sources