First version of the websocket library.