Update Telnet.class.php

Fixed handling for empty prompts.
Added stream timeout to reduce wait time for each stream request.
Changed prompt check to regex for special telnet communication.
Cleaned up response buffer to remove all carriage returns - leaving only newlines.
Various code clean up.