Fix issue in HttpDefaultTransport where response bodies are truncated.

Fix issue in `HttpDefaultTransport` where response bodies greater than one line would be truncated due to a miscalculation of bytesRead.