Add workaround for url-http-end-of-document-sentinel bug
Generic plugin rpc call