added initial websocket message support (experimental)