Refactor Connection to read using a bufio.Scanner