First version of websocket client (for testing) working