function isControlFrame (opcode) {
  return (
    opcode === opcodes.CLOSE ||
    opcode === opcodes.PING ||
    opcode === opcodes.PONG
  )
}
@see https://datatracker.ietf.org/doc/html/rfc6455#section-5.5
@param {number} opcode
@returns {boolean}