added first time connect id fetch and fixed test xml packet