Change websockets implementation to socketIO-client