added docs, example for websocket support