reading a whole response

Now I've got it so that it reads off a byte at a time, until it hits what it's supposed to.
Moved command stuff out into its own method.

Yup.