#913 introducing support for max file size parameter, currently checked against Content-Lenght header