undertow-io/undertow — pull request #193 by jcrossley3 (2014-04-26 17:57:59+00:00)
Title: Fixes UNDERTOW-223 by making the close reason optional

Section 5.5.1 of RFC 6455 says the reason MAY be passed. I know the
Jetty client doesn't necessarily pass it, and when it doesn't, a 1005 is
returned as the close reason, even when the Jetty client passes 1000.