Adding socket protocol