Starting at the specified offset, reads into the given array of
bytes until all requested bytes have been read or a '\n' is
encountered, in which case the '\n' is read into the array as well.
Static method that does the approriate conversion from an IOException
to a HttpPresentationIOException If the exception is already an
HttpPresentationIOException, it is simple rethrown.