add websockets support