added AbstractClient::getDefaultPort()