change default behaviour to 413 close
close channel if content-length > max length, extend unit tests