Add support for overriding http maxThreads [IMMUTANT-355]