added methods for maxRequest and maxStreamingLength