Make Endpoint -> Connection

@dinosaure

This is what I meant by improving Connection to support what you wanted. I think this is more understandable for users rather than having both endpoint and connection.

thoughts?