add plain http rpc support (besides websocket)