WIP: Ws client code

Newline before this.