Fix s3 round robin dns

S3 backend with Resolver integration. Target host DNS names are resolved only once and DNS entries are populated manually.
True of the format is indeed http://HOSTNAME/PATH:PORT.  But it accidentally takes the path with it if the port comes first and then the path (same for unit tests).