Added support for maxPostSize and maxHttpHeaderSize