advance an io.Reader until a []byte pattern is found. Analagous to bytes.Index
io.Reader
[]byte
bytes.Index