Follow up r1465: Fix endless loop while reading data from the socket stream.
Follow up r1465: Fix endless loop while reading data from the socket stream.

* buckets/ssl_buckets.c:
  (ssl_encrypt): when the pending stream has more than 8000 bytes available,
   the loop will never end as after one or a few iterations the number of
   still to be fetched bytes will be 0, and the status will be APR_SUCCESS.
   The fix is to stop the loop not only on !APR_SUCCESS, but also when all
   requested bytes have been successfully read.

jandre/serf,jandre/serf,jandre/serf,jandre/serf