writeFrame() can have a specific opcode.
Add the PING and PONG opcode support.
Add CLOSE_* constants.
Add the close() method.
Add close() and use getServer() everywhere.
Detect a new protocol error: too big ping message.
Allow empty message in the readFrame message.

Caught it in the upper-level.
Format code. #mania
Detect a new protocol error: empty text frame.
Fix big message (> 0xffff) and code semantics.
[auto] Merge from Websocket

    • #73c15da — writeFrame() can have a specific opcode. (Ivan Enderlin, 2013-03-11)
    • #228f906 — Add the PING and PONG opcode support. (Ivan Enderlin, 2013-03-11)
    • #a61d12b — Add CLOSE_* constants. (Ivan Enderlin, 2013-03-11)
    • #47dffe8 — Add the close() method. (Ivan Enderlin, 2013-03-11)
    • #f2e1aad — Add close() and use getServer() everywhere. (Ivan Enderlin, 2013-03-11)
    • #fbefdac — Detect a new protocol error: too big ping message. (Ivan Enderlin, 2013-03-11)
    • #f7a4733 — Allow empty message in the readFrame message. (Ivan Enderlin, 2013-03-11)
    • #e39f78d — Format code. #mania (Ivan Enderlin, 2013-03-11)
    • #ff19ce7 — Detect a new protocol error: empty text frame. (Ivan Enderlin, 2013-03-11)
    • #ef86947 — Fix big message (> 0xffff) and code semantics. (Ivan Enderlin, 2013-03-11)

---

Merge remote branch 'library-websocket/master'