Convert telnetdevice to a gem,