Fix #143: off-by-one range in iterator.KeyIterator.get_headers.

Upstream?