added NetworkHandlerManager and interface INetworkHandler.