add socket protocol template xml files