protected function _handleConnectAndLogin()
{
$this->connect($this->_params['host'], $this->_params['port'], $this->_params['context'], $this->_params['secure']);
if (!$this->_params['bypassauth']) {
$this->login($this->_params['user'], $this->_params['password'], $this->_params['authmethod'], $this->_params['euser']);
}
}