Fix a few deprecation warnings in UndertowWeb