Got rid of bad websocketurl function.