Transfer device, network system using the transmission device and control method in a network system