Fix a partial-read bug that was causing false negatives

Hi Nigel -- Augusto and I encountered some false negatives from the library, and some investigation showed that they were being caused by a partial response read.  This pull request substitutes ReadAll for Read, and also addresses a fixed buffer size limitation.