introduce ServerStub as client-side server communication interface