Fix bug in netty websockets that treated a close frame as text.

When the remote server closes a websocket connection, the close frame is
treated as a text frame and junk bytes are sent to onTextFragment.
Merge pull request #472 from grammati/1.8.x-websocket-bug

Fix bug in netty websockets that treated a close frame as text.