remote-curl: hoist gzip buffer size to top of post_rpc