* If the MSN servers did not respond as expected.
* @throws IOException
* If an I/O error occurs during the read or write operations
*/
String authenticate(String username) throws ConnectException, IOException {
final ResponseCommand received = connect(username);
if (!received.getCommand().equals("XFR")) { //$NON-NLS-1$
throw new ConnectException("The server did not respond properly."); //$NON-NLS-1$
}
return received.getParam(2);
}