Parser helpers for IRCv3 BATCH messages.
Parses the parameters of a BATCH start or end message.
BATCH
@spec parse([String.t()]) :: {:ok, %{direction: :start, ref: String.t(), type: String.t(), params: [String.t()]}} | {:ok, %{direction: :end, ref: String.t()}} | {:error, atom()}