converting to websockets
disable some debugging