Python Emulator for testing line based protocols (telnet, ftp, etc...)