fix detection of too-large XML-RPC request