Added a valve to check request size (untested yet)
added license headers