pass etcd hosts when using function like constructor
v0.2.1