Make parseLine public by renaming it to ParseLine

As the `parseLine` function is useful for other projects this pull request makes it public and available for reuse.

The better approach would be to split out part of the client into a utility package, but that's too rigorous for now.