Provide fuller telnet support

	* lib/telnet.exp (telnet_close, telnet_failure_check, telnet_exec)
	(telnet_spawn_open, telnet_spawn): Created to support use of
	telnet in running tests on remote targets.