Upgrade to Undertow 1.1.CR2 and websocket API 1.1