public AuthFuture authAgent(String user) throws IOException {
return tryAuth(user, new UserAuthAgent(this, nextServiceName()));
}
public AuthFuture authPassword(String user, String password) throws IOException {
return tryAuth(user, new UserAuthPassword(this, nextServiceName(), password));
}