Put get_connection into a function
removed old code from telnet_class
cleaned up if/else using getattr on telnet_class, also better organized function names
Merge branch 'hotfix/send_command_NDP'