Support latest go-etcd

I was unable to build the project due to recent changes in go-etcd. It now works with the latest version.