using websockets for box router