added method openConnection to ServiceClient