* @param info ProxyInfo object
* @see hamsam.protocol.Protocol#connect(java.lang.String, java.lang.String, hamsam.net.ProxyInfo)
*/
public void connect(String username, String password, ProxyInfo info) throws IllegalStateException {
if (listener == null)
throw new IllegalStateException("Listener not set");
listener.connecting(this);
this.userID = username;
this.password = password;