Add websocket primitive sample.