It is possible at times due to a typo when distributed mode was intended
a user might end up starting standalone erasure mode causing confusion.
Add code to check this based on some standard heuristic guess work and
report an error to the user.
Fixes#4686
{[]string{"d1","http://localhost/d2","d3","d4"},fmt.Errorf("mixed style endpoints are not supported")},
{[]string{"d1","http://localhost/d2","d3","d4"},fmt.Errorf("mixed style endpoints are not supported")},
{[]string{"http://example.org/d1","https://example.com/d1","http://example.net/d1","https://example.edut/d1"},fmt.Errorf("mixed scheme is not supported")},
{[]string{"http://example.org/d1","https://example.com/d1","http://example.net/d1","https://example.edut/d1"},fmt.Errorf("mixed scheme is not supported")},
{[]string{"192.168.1.210:9000/tmp/dir0","192.168.1.210:9000/tmp/dir1","192.168.1.210:9000/tmp/dir2","192.168.110:9000/tmp/dir3"},fmt.Errorf("'192.168.1.210:9000/tmp/dir0': invalid URL endpoint format: missing scheme http or https")},