UNDERTOW-206 Fix the ServletOutputStream write method