client: permute endpoints manually (for Go 1.9>)
To keep backward compatibility, use old algorithm of
rand.Rand.Perm.
Reference: https://github.com/golang/go/commit/caae0917bff12751019cb4240e99874fa692e770#diff-d4a72c5ba8515eae95a093e0aec62635.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>