Connecting ends of helical springs for mattresses