UNDERTOW-340 Don't overrwite response headers
Fix redirect encoding issue
Fix parent selection in directory utils