WFLY-4196 Call setContentLength instead of setContentLengthLong where possible to allow filters written for older versions of the servlet spec to work correctly