Backend support for websockets