Break out indexLineEnd from Reader.
Command parses command requests into strings.
Avoid redundant index finding.

When we parse array / bulk string length lines, we know the end index, so we can
just use that instead of doing it beforehand in indexObjectEnd.