Use peerName instead of peerAddress

* If connecting to a non-IP host, peerAddress is an empty string,
  peerName contains the DNS name