TelnetClient.php: Use exception chaining in login()