implement method clone () in class DefaultNetworkHandler.