More websocket tests. Fix bug in :close callback.

This commit adds a failing test: both the :text and :byte callbacks
are called - should be one or the other.