Update Undertow to 1.0.0.Beta24

This has a number of performance fixes, including reducing the size of some
hot methods to allow them to be inlined, and connection balancing so that
connections are more evenly distributed between IO threads.
Change to use writeValueAsBytes
Merge pull request #618 from stuartwdouglas/master

Update Undertow to 1.0.0.Beta24