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.