My target with the websockets rpc has been to complete eventing via our REST interface, so that @Rowan Voskuil can integrate his previous plotting work. This gets me a little closer to that, but that won't be json-rpc over ws, it will be json/text/data over ws (analog to the REST interface queries).