implement getNetworkHandler () in ClientApplication and ServerApplication.