Fixed socket bugs

Update xml files