fix Headers.__setitem__ to correctly accept slices