Balancer dialer now uses EndPoint.

So we don't need to pass down the port, and it's more flexible.
Fixing test file after comment.
Merge branch 'replication'