You're going to find two types of steel wire in a mattress: the harder, thinner coil springs in the middle, and the thicker, softer binder wire around the edges. Neither one is particularly good for smithing (between their small dimensions and unknown carbon content), but the binder wire might be good for practicing S-hooks and similar basic projects.