Move resolving from a SRV or Hostname to the Endpoint class, and re-resolve these on every reconnection attempt.
select random SRV entry every time.
Merge pull request #427 from racker/reresolve_srv

Move resolving from a SRV or Hostname to the Endpoint class