Added WS client plumbing.

Related to #14
Client is for now nearly empty, only two methods implemented.