[refactor] client sends messages received from ws
[refactor] wrapping ws in ws-endpoint-client