rewrite avbot rpc with avhttpd