UNDERTOW-307 Improve parsing of Content-Type header