Married couples have long enjoyed better legal protections than those who live together without tying the knot.