Tests for different Twisted Endpoint syntax
Use internal Endpoints parsers to get TCP Endpoint string parameters

Copied from twisted.internet.endpoints.clientFromString() for compatibility.
This requires Twisted>=10.1 to work, but that will be necessary anyway in
future for Endpoints use. Otherwise the internal Endpoints parsing code
would need to be duplicated here (and then removed after full migration to
Endpoints).
Change locations to list of strings
Merge branch '217-tolerate-endpoint-syntax' of github.com:str4d/foolscap into endpoints

Conflicts:
	foolscap/referenceable.py
Merge branch 'endpoints-hints' into endpoints

Conflicts:
	foolscap/referenceable.py