Adding socket stack