updated examples
updated comment
fixed problem with WebSocket