rewrite WebSocketFrame, #36

See #36 for details