docs and a simple ws echoing client