Added Endpoint API. An endpoint can be either a Member or a Client.
Merge pull request #1046 from mdogan/feature/3.2/client

Added Endpoint API. An endpoint can be either a Member or a Client.