Rename validFrame() to validFrameRsv().
websocket-extensions uses Node-style callbacks rather than emitting error events.