TelnetClient.php: Make matchesPrompt() public