Rename endpoint ==> client

  - more consistent with WAMP spec