etcdserver: try to listen on ports before initializing etcd server