websocket improvements.
websocket improvements.

- properly send a CLOSE control frame back if the client sent us one.
- make sure we can send messages that are exactly USHRT_MAX bytes long.

jorisvink/kore,jorisvink/kore