REST resources through websockets