Closes #5 and small bugfixes

A small regression happened in the last commit due to which event
names weren't properly split.

Now we use WS instead of Websocket-Node. The constructor of WS initializes the socket with URL, and there isn't any separate .connect method. I had to add a ws socket attribute in the clients instead of inheriting from it.