Parse the x-etcd-index and x-raft-index headers to ints before storing them